package com.zxl.yjb.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.zxl.yjb.R;
import com.zxl.yjb.bean.AreaBean;

import java.util.List;

/**
 * 介绍
 * 作者 ssy
 * 时间 2019/1/19
 * 邮箱 1161209667@qq.com
 */
public class AdListAdapter  extends BaseQuickAdapter<AreaBean, BaseViewHolder> {
    public AdListAdapter(int layoutResId, @Nullable List<AreaBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, AreaBean item) {
        helper.setText(R.id.tv_ad, item.getName());
    }
}
